package com.itheima.d2_extends.demo01;

/**
 * 老师类
 */
public class Teacher extends Person {

    public void teach() {
        System.out.println("讲课授课");
    }

}
